package com.example.user.domain.classroom;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

@TableName("tb_classroom")  // 指定类对应的数据库表名
@Getter
@Setter
@ToString
public class Classroom extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long classroomId;

    private String classroomName;

    private String classroomType; //C++、Java、测试

    private LocalDate startDate;

    private String bio;

    private Integer status; // 0 报名中、1 已开课、2 已结业

}
